//package com.lions;
//
//import static org.junit.Assert.*;
//
//import org.junit.Test;
//
//import com.google.gwt.user.client.ui.ListBox;
//import com.lions.client.model.Condition;
//import com.lions.client.model.Module;
//import com.lions.client.model.Type;
//import com.lions.client.view.modulepanel.ModulePanel;
//
//public class ModulePanel {
//
//	@Test
//	public void test() {
//		fail("Not yet implemented");
//	}
//
//	public void addModuleArray() {
//		// five = popup.getArray();
//		// System.out.println(five[0]);
//		if (five[0] == null) {
//
//		} else {
//			for (int i = 0; i < five.length; i++) {
//				if (five[i].getType() == Type.AIRLOCK) {
//					listAdd(air, five[i], air.getItemCount());
//					if (five[i].getCondition() == Condition.USABLE) {
//						air.addStyleName("usable");
//						System.out.println("USABLE");
//					} else if (five[i].getCondition() == Condition.REPAIRABLE) {
//
//						air.addStyleName("repair");
//						System.out.println("REPAIR");
//					} else {
//						System.out.println("BROKEN");
//						air.addStyleName("broken");
//					}
//				} else if (five[i].getType() == Type.POWER) {
//					listAdd(power, five[i], power.getItemCount());
//
//				} else if (five[i].getType() == Type.CONNECTOR) {
//					listAdd(plain, five[i], plain.getItemCount());
//
//				} else if (five[i].getType() == Type.SANITATION) {
//					listAdd(sanitation, five[i], sanitation.getItemCount());
//
//				} else if (five[i].getType() == Type.CANTEEN) {
//					listAdd(canteen, five[i], canteen.getItemCount());
//
//				} else if (five[i].getType() == Type.FOOD_WATER_STORAGE) {
//					listAdd(foodNwater, five[i], foodNwater.getItemCount());
//
//				} else if (five[i].getType() == Type.GYM) {
//					listAdd(gymNrelax, five[i], gymNrelax.getItemCount());
//
//				} else if (five[i].getType() == Type.CONTROL) {
//					listAdd(control, five[i], control.getItemCount());
//
//				} else if (five[i].getType() == Type.MEDICAL) {
//					listAdd(medical, five[i], medical.getItemCount());
//
//				} else if (five[i].getType() == Type.DORMITORY) {
//					listAdd(dorm, five[i], dorm.getItemCount());
//
//				}
//			}
//		}
//
//	}
//	private Module[] five = new Module[100];
//	// final MyPopup popup = new MyPopup();
//	public ModulePanel panel;
//	private ListBox air = new ListBox();
//	private ListBox power = new ListBox();
//	private ListBox plain = new ListBox();
//	private ListBox sanitation = new ListBox();
//	private ListBox canteen = new ListBox();
//	private ListBox foodNwater = new ListBox();
//	private ListBox gymNrelax = new ListBox();
//	private ListBox control = new ListBox();
//	private ListBox medical = new ListBox();
//	private ListBox dorm = new ListBox();
//}
